import api from './axiosBase';
// import apis from './axiosBase2';
//个人中心信息
export const getPersonalInfo = () => api.post('/recommend/getPersonalInfo');
//邀请有礼
export const getReserveOrder = () => api.post('/recommend/getReserveOrder');

export const getRewardList = (data) => api.post('/recommend/getRewardList', data);
//获取提现剩余金额
export const getProfit = () => api.post('/recommend/getProfit');

// 我邀请的会员
export const getInvitationList = (data) => api.post('/recommend/getInvitationList', data);
//获取微信信息
export const getWechatInfo = (data) => api.post('/recommend/getWechatInfo', data);

//新增提现
export const addReadyMoney = (data) => api.post('/recommend/addReadyMoney', data);

//提现记录表
export const getReadyMoneyList = (data) => api.post('/recommend/getReadyMoneyList', data);
//个人绩效
export const getAchievements = (data) => api.post('/recommend/getAchievements', data);
//获取绩效时间段
export const getTargetList = () => api.post('/recommend/getTargetList');
//获取个人绩效信息
export const getTargetDetailedList = (data) => api.post('/recommend/getTargetDetailedList', data);

//部门绩效
export const getDeptAchievements = (data) => api.post('/recommend/getDeptAchievements', data);
//获取部门绩效信息
export const getDeptDetailedList = (data) => api.post('/recommend/getDeptDetailedList', data)
//获取微信分享
export const getPriceAgreement = () => api.post('/recommend/getPriceAgreement');

//获取代客预订列表
export const getReserveOrderValet = (data) => api.post('/marketing/getReserveOrder', data);
//获取代客预订详情
export const getOrderInfo = (data) => api.post('/marketing/getOrderInfo', data);
//获取协议单位列表
export const getAgreementUnitList = (data) => api.post('/marketing/getAgreementUnitList', data);
//获取房型
export const getReserveRoomType = (data) => api.post('/marketing/getReserveRoomType', data);
//获取房价
export const getRoomPrices = (data) => api.post('/marketing/getRoomPrices', data);
//新增订单
export const addOrder = (data) => api.post('/marketing/addOrder', data);
//新增订单
export const updateOrderInfo = (data) => api.post('/marketing/updateOrderInfo', data);

//获取微信分享
export const getCode = () => api.post('/recommend/getCode');
//获取会议预定微信分享
export const orderView = () => api.post('/marketing/orderView');